package XzaimsModel

import "time"

type SystemAdmin struct {
	SystemAdminID int       `gorm:"primaryKey"`
	StaffID       int       `gorm:"column:staff_id"`
	Enname        string    `gorm:"column:enname"`
	Cnname        string    `gorm:"column:cnname"`
	AdminRoleID   int       `gorm:"column:admin_role_id"`
	Status        int       `gorm:"column:status"`
	CreateTime    time.Time `gorm:"column:create_time"`
	UpdateTime    time.Time `gorm:"column:update_time"`
	CreateBy      string    `gorm:"column:create_by"`
	UpdateBy      string    `gorm:"column:update_by"`
}

func (SystemAdmin) TableName() string {
	return "system_admin"
}
